package com.huike.web.controller.clues;


import com.huike.clues.service.ITbClueService;
import com.huike.common.core.page.TableDataInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * 线索跟进记录回显
 */

@RestController
@RequestMapping("/clues/record")
public class TbLookClueController {

    @Autowired
    private ITbClueService iTbClueService;

    @RequestMapping("/list")
    public TableDataInfo getCluesRecord(String clueId){
        TableDataInfo clueTrackRecord = iTbClueService.getClueTrackRecord(clueId);
        return clueTrackRecord;
    }

}
